package com.drop.service;

import com.drop.common.MyComment;
import com.drop.entity.Comment;

import java.util.List;

/**
 * 评论服务层
 */
public interface CommentService {

	/**
	 * 展示评论
	 * @param id
	 * @return
	 */
	public List<MyComment> showComments(int id);

	/**
	 * 插入评论
	 * @param comment
	 * @param orderid
	 * @param uid
	 * @return
	 */

	public Boolean addComment(String[] comment, int orderid, String uid,String[] gids) throws Exception;

	public List<Comment> getComment(int userid);
}
